﻿
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration; 
using Sharp.Domain.PlatformBoundedContext.PlatformModule.Aggregates;

namespace Sharp.Domain.PlatformBoundedContext.ModelConfigurations
{
    public partial class SubSystemConfiguration
        : EntityTypeConfiguration<SubSystem>
    {
        public SubSystemConfiguration()
        { 
            // keys
            HasKey(t => t.Id);

            // Properties
            Property(t => t.Id)
                .HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity)
                .IsRequired();

             
        }
    }
}

